package cuit.blog.dao;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import cuit.blog.entity.Reply;

public interface ReplyRespository extends JpaRepository<Reply, Long> {

	Page<Reply> findByUserId(Long userId, Pageable pageable);
    List<Reply> findByArticle_id(Long article_id);
    List<Reply> findByUser_id(Long User_id);
}
